﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotHandler;

namespace DotBusiness.Models
{
    public class MLocal : Mapping
    {
        public int Id{
            get{
                return this.o.Id;
            }
            set{
                this.o.Id = value;
            }
        }
        public DateTime Data{
            get{
                return this.o.Registro;
            }
            set{
                this.o.Registro = value;
            }
        }
        public string Mesa{
            get{
                return this.o.Endereco;
            }
            set{
                this.o.Endereco = value;
            }
        }
        public string Garcon{
            get{
                return this.o.Entregador;
            }
            set{
                this.o.Entregador = value;
            }
        }
    }
    public class MDelivery : Mapping
    {
        public int Id
        {
            get
            {
                return this.o.Id;
            }
            set
            {
                this.o.Id = value;
            }
        }
        public DateTime Data
        {
            get
            {
                return this.o.Registro;
            }
            set
            {
                this.o.Registro = value;
            }
        }
        public string Endereco
        {
            get
            {
                return this.o.Endereco;
            }
            set
            {
                this.o.Endereco = value;
            }
        }
        public string Entregador
        {
            get
            {
                return this.o.Entregador;
            }
            set
            {
                this.o.Entregador = value;
            }
        }
    }
}
